Optimal. Leaf size=289 \[ \frac{(3 A b-7 a B) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} \sqrt{x}+\sqrt{a}+\sqrt{b} x\right )}{8 \sqrt{2} \sqrt [4]{a} b^{11/4}}-\frac{(3 A b-7 a B) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} \sqrt{x}+\sqrt{a}+\sqrt{b} x\right )}{8 \sqrt{2} \sqrt [4]{a} b^{11/4}}-\frac{(3 A b-7 a B) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} \sqrt{x}}{\sqrt [4]{a}}\right )}{4 \sqrt{2} \sqrt [4]{a} b^{11/4}}+\frac{(3 A b-7 a B) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} \sqrt{x}}{\sqrt [4]{a}}+1\right )}{4 \sqrt{2} \sqrt [4]{a} b^{11/4}}-\frac{x^{3/2} (3 A b-7 a B)}{6 a b^2}+\frac{x^{7/2} (A b-a B)}{2 a b \left (a+b x^2\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.469584, antiderivative size = 289, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 9, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.409 \[ \frac{(3 A b-7 a B) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} \sqrt{x}+\sqrt{a}+\sqrt{b} x\right )}{8 \sqrt{2} \sqrt [4]{a} b^{11/4}}-\frac{(3 A b-7 a B) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} \sqrt{x}+\sqrt{a}+\sqrt{b} x\right )}{8 \sqrt{2} \sqrt [4]{a} b^{11/4}}-\frac{(3 A b-7 a B) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} \sqrt{x}}{\sqrt [4]{a}}\right )}{4 \sqrt{2} \sqrt [4]{a} b^{11/4}}+\frac{(3 A b-7 a B) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} \sqrt{x}}{\sqrt [4]{a}}+1\right )}{4 \sqrt{2} \sqrt [4]{a} b^{11/4}}-\frac{x^{3/2} (3 A b-7 a B)}{6 a b^2}+\frac{x^{7/2} (A b-a B)}{2 a b \left (a+b x^2\right )} \]
Antiderivative was successfully verified.
[In] Int[(x^(5/2)*(A + B*x^2))/(a + b*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 80.0589, size = 269, normalized size = 0.93 \[ \frac{x^{\frac{7}{2}} \left (A b - B a\right )}{2 a b \left (a + b x^{2}\right )} - \frac{x^{\frac{3}{2}} \left (3 A b - 7 B a\right )}{6 a b^{2}} + \frac{\sqrt{2} \left (3 A b - 7 B a\right ) \log{\left (- \sqrt{2} \sqrt [4]{a} \sqrt [4]{b} \sqrt{x} + \sqrt{a} + \sqrt{b} x \right )}}{16 \sqrt [4]{a} b^{\frac{11}{4}}} - \frac{\sqrt{2} \left (3 A b - 7 B a\right ) \log{\left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} \sqrt{x} + \sqrt{a} + \sqrt{b} x \right )}}{16 \sqrt [4]{a} b^{\frac{11}{4}}} - \frac{\sqrt{2} \left (3 A b - 7 B a\right ) \operatorname{atan}{\left (1 - \frac{\sqrt{2} \sqrt [4]{b} \sqrt{x}}{\sqrt [4]{a}} \right )}}{8 \sqrt [4]{a} b^{\frac{11}{4}}} + \frac{\sqrt{2} \left (3 A b - 7 B a\right ) \operatorname{atan}{\left (1 + \frac{\sqrt{2} \sqrt [4]{b} \sqrt{x}}{\sqrt [4]{a}} \right )}}{8 \sqrt [4]{a} b^{\frac{11}{4}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**(5/2)*(B*x**2+A)/(b*x**2+a)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.449962, size = 256, normalized size = 0.89 \[ \frac{-\frac{24 b^{3/4} x^{3/2} (A b-a B)}{a+b x^2}+\frac{3 \sqrt{2} (3 A b-7 a B) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} \sqrt{x}+\sqrt{a}+\sqrt{b} x\right )}{\sqrt [4]{a}}+\frac{3 \sqrt{2} (7 a B-3 A b) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} \sqrt{x}+\sqrt{a}+\sqrt{b} x\right )}{\sqrt [4]{a}}+\frac{6 \sqrt{2} (7 a B-3 A b) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} \sqrt{x}}{\sqrt [4]{a}}\right )}{\sqrt [4]{a}}+\frac{6 \sqrt{2} (3 A b-7 a B) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} \sqrt{x}}{\sqrt [4]{a}}+1\right )}{\sqrt [4]{a}}+32 b^{3/4} B x^{3/2}}{48 b^{11/4}} \]
Antiderivative was successfully verified.
[In] Integrate[(x^(5/2)*(A + B*x^2))/(a + b*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.02, size = 317, normalized size = 1.1 \[{\frac{2\,B}{3\,{b}^{2}}{x}^{{\frac{3}{2}}}}-{\frac{A}{2\,b \left ( b{x}^{2}+a \right ) }{x}^{{\frac{3}{2}}}}+{\frac{Ba}{2\,{b}^{2} \left ( b{x}^{2}+a \right ) }{x}^{{\frac{3}{2}}}}-{\frac{7\,\sqrt{2}Ba}{16\,{b}^{3}}\ln \left ({1 \left ( x-\sqrt [4]{{\frac{a}{b}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) \left ( x+\sqrt [4]{{\frac{a}{b}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}-{\frac{7\,\sqrt{2}Ba}{8\,{b}^{3}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}-{\frac{7\,\sqrt{2}Ba}{8\,{b}^{3}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}-1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+{\frac{3\,\sqrt{2}A}{16\,{b}^{2}}\ln \left ({1 \left ( x-\sqrt [4]{{\frac{a}{b}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) \left ( x+\sqrt [4]{{\frac{a}{b}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+{\frac{3\,\sqrt{2}A}{8\,{b}^{2}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+{\frac{3\,\sqrt{2}A}{8\,{b}^{2}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}-1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^(5/2)*(B*x^2+A)/(b*x^2+a)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*x^(5/2)/(b*x^2 + a)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.254998, size = 1095, normalized size = 3.79 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*x^(5/2)/(b*x^2 + a)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**(5/2)*(B*x**2+A)/(b*x**2+a)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.254201, size = 382, normalized size = 1.32 \[ \frac{2 \, B x^{\frac{3}{2}}}{3 \, b^{2}} + \frac{B a x^{\frac{3}{2}} - A b x^{\frac{3}{2}}}{2 \,{\left (b x^{2} + a\right )} b^{2}} - \frac{\sqrt{2}{\left (7 \, \left (a b^{3}\right )^{\frac{3}{4}} B a - 3 \, \left (a b^{3}\right )^{\frac{3}{4}} A b\right )} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{a}{b}\right )^{\frac{1}{4}} + 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{8 \, a b^{5}} - \frac{\sqrt{2}{\left (7 \, \left (a b^{3}\right )^{\frac{3}{4}} B a - 3 \, \left (a b^{3}\right )^{\frac{3}{4}} A b\right )} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{a}{b}\right )^{\frac{1}{4}} - 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{8 \, a b^{5}} + \frac{\sqrt{2}{\left (7 \, \left (a b^{3}\right )^{\frac{3}{4}} B a - 3 \, \left (a b^{3}\right )^{\frac{3}{4}} A b\right )}{\rm ln}\left (\sqrt{2} \sqrt{x} \left (\frac{a}{b}\right )^{\frac{1}{4}} + x + \sqrt{\frac{a}{b}}\right )}{16 \, a b^{5}} - \frac{\sqrt{2}{\left (7 \, \left (a b^{3}\right )^{\frac{3}{4}} B a - 3 \, \left (a b^{3}\right )^{\frac{3}{4}} A b\right )}{\rm ln}\left (-\sqrt{2} \sqrt{x} \left (\frac{a}{b}\right )^{\frac{1}{4}} + x + \sqrt{\frac{a}{b}}\right )}{16 \, a b^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*x^(5/2)/(b*x^2 + a)^2,x, algorithm="giac")
[Out]